<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>查询全部出货记录</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- 引入 Bootstrap -->
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

<div class="container">

    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    <small>出货记录</small>
                </h1>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-md-4 column">
            <a class="btn btn-primary" href="/admiQueryAllOutstorage">显示全部出货记录</a>
        </div>
        <div class="col-md-4 column"></div>
        <div class="col-md-4 column">
            <form action="/toAdmiIndexPage" method="post" style="float: right">
                <input type="submit" value="返回上一页" class="btn btn-primary">
            </form>
        </div>
    </div>

    <div class="row clearfix">
        <div class="col-md-12 column">
            <table class="table table-hover table-striped">
                <thead>
                <tr>
                    <th>订单ID</th>
                    <th>商品ID</th>
                    <th>商品名称</th>
                    <th>商品单价</th>
                    <th>出库日期</th>
                    <th>数量</th>
                    <th>销售商名字</th>
                    <th>操作员名字</th>
                </tr>
                </thead>

                <tbody>
                <h4 th:each="map,State:${List}">
                    <tr>
                        <td th:text="${map['outStorageId']}"></td>
                        <td th:text="${map['productId']}"></td>
                        <td th:text="${map['productName']}"></td>
                        <td th:text="${map['price']}"></td>
                        <td th:text="${map['outStorageTime']}"></td>
                        <td th:text="${map['number']}"></td>
                        <td th:text="${map['providerName']}"></td>
                        <td th:text="${map['operatorName']}"></td>
                    </tr>
                </h4>

                </tbody>

            </table>
        </div>
    </div>
</div>